
import Mock from 'mockjs2'
import { builder } from '../util'

const getRoleList = () => {
  return builder([
    {
    rlId: '1',
    rlName: '张三',
    rlUniCode: 'admin',
    rlPermsList: ["New-group", "Audit-goods"]
  },
    {
    rlId: '2',
    rlName: '李四',
    rlUniCode: 'user',
    rlPermsList: ["Dashboard", "Gro-mana"]
  },
    {
    rlId: '3',
    rlName: '王五',
    rlUniCode: 'group',
    rlPermsList: ["New-group", "Audit-goods"]
  },
])
}
Mock.mock(/\/local\/getRoleList/, 'get', getRoleList)
